package com.zyong.design.pattern.facade.case2;

/**
 * 屏幕
 * @program: zyong-design-pattern
 * @ClassName: Screen
 * @author: zyong
 * @create: 2024-04-07 23:23
 */
public class Screen {
    private static Screen instance = new Screen();

    public static Screen getInstance() {
        return instance;
    }

    /**
     * 升起
     */
    public void up() {
        System.out.println("Screen up");
    }

    /**
     * 降下
     */
    public void down() {
        System.out.println("Screen down");
    }
}
